package com.qidianit.springboot.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import redis.clients.jedis.Jedis;

/**
 * @author 戴着假发的程序员
 * @company 起点编程
 * @date 2025/5/6 下午 1:50
 * @description
 **/

@Configuration
public class JedisConfig {

    @Bean
    public Jedis getConnection(){
        return  new Jedis("127.0.0.1",6379);
    }


}
